﻿Public Structure PrintDoc
    Dim id As String
    Dim paper_width As Int32
    Dim paper_height As Int32
    Dim cmds As List(Of PrinterCmd)
End Structure

Public Structure PrinterCmd
    Dim type As String

    Dim x As Int32
    Dim y As Int32
    '文本
    Dim font As String
    Dim font_size As Int32
    Dim font_weight As String
    Dim content As String
    '图片
    Dim src As String
    Dim width As Int32
    Dim height As Int32

End Structure

